<template>
    <div class="backTop" @click="backTop">

    </div>
</template>

<script>
    export default {
        name: "backTop",
        setup(props,{emit}){
            return{
                backTop: ()=>{
                    emit('bTop')
                }
            }
        }
    }
</script>

<style scoped>
.backTop{
    height: 35px;
    width: 35px;
    background: url("~assets/images/返回顶部.png" ) no-repeat center   center ;
    position: fixed;
    bottom: 80px;
    z-index: 30;
    right: 30px;
    border: 1px #888888;
    border-radius: 50%;

    box-shadow: 5px 5px 5px #888888;

}
</style>